package www.openteam.com.bean;

/**
 * Created by kylin on 2016/8/24.
 */
public class QueryCondition {
    private String rdsno;
    private String custid;
    private String code;
    private long startDate;
    private long endDate;
    private int pageSize;

    @Override
    public String toString() {
        return "QueryCondition{" +
                "rdsno='" + rdsno + '\'' +
                ", custid='" + custid + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", pageSize=" + pageSize +
                '}';
    }

    public QueryCondition() {
    }

    public QueryCondition(String rdsno) {
        this.rdsno = rdsno;
    }
    public QueryCondition(String rdsno,String code) {
        this.rdsno = rdsno;
        this.code=code;
    }

    public QueryCondition(String rdsno, String custid, long startDate, long endDate) {
        this.rdsno = rdsno;
        this.custid = custid;
        this.startDate = startDate;
        this.endDate = endDate;
    }
    public QueryCondition(String rdsno, long startDate, long endDate) {
        this.rdsno = rdsno;
        this.custid = custid;
        this.startDate = startDate;
        this.endDate = endDate;
    }


    public QueryCondition(String rdsno, String custid, String code, long startDate, long endDate) {

        this.rdsno = rdsno;
        this.custid = custid;
        this.code = code;
        this.startDate = startDate;
        this.endDate = endDate;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRdsno() {
        return rdsno;
    }

    public void setRdsno(String rdsno) {
        this.rdsno = rdsno;
    }

    public String getCustid() {
        return custid;
    }

    public void setCustid(String custid) {
        this.custid = custid;
    }

    public long getStartDate() {
        return startDate;
    }

    public void setStartDate(long startDate) {
        this.startDate = startDate;
    }

    public long getEndDate() {
        return endDate;
    }

    public void setEndDate(long endDate) {
        this.endDate = endDate;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

}
